import request from '@/config/axios'

// 测试服务-测试类型获取
export const getTestItems = async () => {
  return await request.get({ url: '/system/testing/items' })
}

// 测试服务/提测记录/添加提测记录
export const createTestRecord = async (data) => {
  return await request.post({ url: '/system/testing/record/create',data })
}

// 测试服务/提测记录/列表查询
export const getTestRecords = async (params) => {
  return await request.get({ url: '/system/testing/record/page', params })
}

///测试服务/提测记录/删除提测记录
export const deleteTestRecord = async (data) => {
  return await request.delete({ url: '/system/testing/record/delete?id=' + data.id })
}
